﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zor_DAL;

namespace Zor_Bll
{
   public class Sincerity_Bll<T> where T : class
    {
        /// <summary>
        /// 根据用户ID获取用户信息
        /// </summary>
        /// <param name="user_Id">用户ID</param>
        /// <returns></returns>
        public static T GetApiUserByUserID(string user_Id)
        {
            return Sincerity_DAL<T>.GetApiUserByUserID(user_Id);
        }

        /// <summary>
        /// 根据父ID获取用户便利店
        /// </summary>
        /// <param name="Dt_ParentID">父ID</param>
        /// <returns></returns>
        public static T GetApiUserByParentID(string Dt_ParentID)
        {
            return Sincerity_DAL<T>.GetApiUserByParentID(Dt_ParentID);
        }
    }
}
